body {
    background: url("#{resource['images:body-bg.gif']}") repeat-y scroll center top #F4F4F4;
    color: #333333;
    font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
    font-size: 13px;
}
a, a:link, a:visited {
    color: #0E47A3;
    text-decoration: none;
}
a:hover {
    color: #FF7800;
    text-decoration: none;
}
#page {
    background: url("#{resource['images:body-bg.gif']}") repeat-y scroll center top rgba(0, 0, 0, 0);
}

/*Login*/
.loginbox{
    margin-top: 5px;
    position: absolute;
    right: 150px;
    width: 160px;
}
.loginbox .login{
    padding-left: 5px;
    text-decoration: none;
}
.loginbox a{
    display: inline-block;
}

/**Header and MenuTop**/
#header {
    margin: 0 auto;
    width: 990px;
}
#header {
    background: url("#{resource['images:header-bg.gif']}") repeat-x scroll 0 0 #F4F4F4;
    clear: both;
    display: inline-block;
    width: 990px;
}
#logo {
    float: left;
    padding-left: 15px;
    width: 292px;
}
#top-search {
    float: right;
    padding-top: 44px;
    width: 350px;
}
#top-search span.input {
    background: url("#{resource['images:top-search-l.gif']}") no-repeat scroll left center rgba(0, 0, 0, 0);
    display: block;
    float: left;
    margin-right: 5px;
}
#top-search span.input input {
    background: url("#{resource['images:top-search-r.gif']}") no-repeat scroll right center rgba(0, 0, 0, 0);
    border: 0 none;
    color: #444444;
    padding: 5px;
    text-shadow: 1px 1px 1px #FFFFFF;
    width: 186px;
}

.submit-search{
    float: left;
    background: url("#{resource['images:top-search-button.gif']}") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
    display: block;
    height: 27px;
    padding: -1px -1px -1px -3px;
    text-shadow: 1px 1px 1px #003258;
    width: 96px;
    border-radius: 5px;
}
.submit-search:hover{
    background: url("#{resource['images:top-search-button-hover.gif']}") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
}

#top-menu-c {
    background: url("#{resource['images:top-menu-bg.gif']}") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    margin: 0 auto;
    width: 990px;
    float:left;
}

#top-menu {
    background: url("#{resource['images:top-menu-bg.gif']}") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    float: left;
    width: 850px;
    z-index: -1;
}

#top-menu ul {
    background: url("#{resource['images:top-menu-split.gif']}") no-repeat scroll right center rgba(0, 0, 0, 0);
    clear: both;
    display: inline-block;
    list-style-type: none;
}
#top-menu ul li {
    float: left;
}
#top-menu ul li a {
    color: #FFFFFF;
    display: block;
    padding: 2px 0;
    text-shadow: 1px 1px 1px #003258;
    text-decoration: none;
}
#top-menu ul li a span {
    background: url("#{resource['images:top-menu-split.gif']}") no-repeat scroll left center rgba(0, 0, 0, 0);
    display: block;
    padding: 10px 15px;
}
#top-menu ul li.first a span {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}
#top-menu ul li a:hover, #top-menu ul li a.actived {
    background: url("#{resource['images:top-menu-hover.gif']}") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
}


#top-menu ul li {
    background: url("#{resource['images:top-menu-bg.gif']}") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
}

#wrapper {
    margin: 0px auto;
    padding: 0 5px;
    width: 990px;
}

#page{
    clear: both;
    display: inline-block;
    margin-bottom: 15px;
    padding: 15px 10px;
    width: 970px;
}

/**Menu Left**/
#leftmenu{
    float: left;
    width: 200px;
}
/*Menu hang san xuat*/
#header-blue{
    background: url("#{resource['images:header-blue-l.gif']}") no-repeat left top;
    margin-bottom: 10px;
}
#header-blue span.title{
    background: url("#{resource['images:header-blue-r.gif']}") no-repeat scroll right top transparent;
    color: #FFFFFF;
    padding: 8px 10px;
    text-shadow: 1px 1px 1px #003258;
    text-transform: uppercase;
    display: block;
}
/*List mac hang*/
ul.brands li{padding: 0px; margin: 0px;}
ul.brands li a{
    display: block;
    background: url("#{resource['images:brand-bg.gif']}") no-repeat top left;
    color: #555;
    padding: 7px 0px 9px 25px;
    font-weight: bold;
}

ul.brands li a:hover{
    background: url("#{resource['images:brand-bg-hover.png']}") no-repeat top left;
    color: #0a66a6;
}
/*Menu Phu kien*/
.box-accessories{
    background: url("#{resource['images:brand-h-l.gif']}") no-repeat left top;
    margin-bottom: 10px;
}
.box-accessories span.title{
    background: url("#{resource['images:brand-h-r.gif']}") no-repeat scroll right top transparent;
    color: #0E47A3;
    padding: 10px 10px;
    font-size: 13px;
    font-weight: bold;
    font-family: tahoma;
    display: block;
}
/*List mac hang*/
ul.accessories li{padding: 0px; margin: 0px;}
ul.accessories li a{
    display: block;
    background: url("#{resource['images:device-bg.gif']}") no-repeat top left;
    color: #555;
    padding: 7px 0px 9px 25px;
    font-weight: bold;
}

ul.accessories li a:hover{
    background: url("#{resource['images:device-bg-hover.gif']}") no-repeat top left;
    color: #0a66a6;
}

/*Footer*/
#footer{
    background: url("#{resource['images:footer-bg.gif']}") repeat-x scroll center top rgba(0, 0, 0, 0);
    font-size: 12px;
    margin: 0 auto;
    padding: 16px 0 15px;
}
#footer .copyright{
    line-height: 16px;
    margin: 10px 0 10px 0;
    text-align: center;
    font-size: 14px;
}
#footer .footer-l{
    float: left;
    padding-left: 5px;
    width: 580px;
}
.footer-l span{
    color: #555555;
    display: block;
    margin-bottom: 6px;
    text-shadow: 1px 1px 1px #FFFFFF;
}
.footer-l span strong{
    color: #666666;
    font-weight: bold;
}
.footer-r{
    float: right;
    padding-left: 5px;
    width: 400px;
    height: 100px;
}
.footer-r ul li{
    float: left;
    list-style: none;
    margin-bottom: 9px;
    margin-right: 10px;
    padding: 0 0 0 7px;
}


/**Content**/
#content{
    width: 765px;
    height: 100%;
    float: right;
}

.clearfix:after{
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
.product-list{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #DDDDDD -moz-use-text-color -moz-use-text-color #DDDDDD;
    border-image: none;
    border-style: solid none none solid;
    border-width: 1px 0 0 1px;
}
.nolist{
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
.product-list li{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    -webkit-border-bottom-colors: none;
    -webkit-border-left-colors: none;
    -webkit-border-right-colors: none;
    -webkit-border-top-colors: none;
    border-color: -moz-use-text-color #DDDDDD #DDDDDD -moz-use-text-color;
    border-image: none;
    border-right: 1px solid #DDDDDD;
    border-style: none solid solid none;
    border-width: 0 1px 1px 0;
    float: left;
    height: 210px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 190px;
}
.product-list li div.img{
    -moz-box-sizing: border-box;
    overflow: hidden;
    padding-top: 10px;
    text-align: center;
}
.product-list li div.name{
    bottom: 0;
    padding: 10px;
    padding-bottom: 15px;
    position: absolute;
    vertical-align: bottom;
}
.product-list li div.price-list{
    bottom: 10px;
    left: 10px;
    width: 179px;
    z-index: 10;
}
.product-list li div.price .discount-note .accessory-note strong{
    color: #FF0000;
    font-size: 14px;
    font-weight: bold;
    line-height: 1em;
}

#content .more-detail{
    background-color: #F8F8F8;
    display: block;
    top: 210px;
    height: 210px;
    position: absolute;
    width: 190px;
    z-index: 10000;
}

#content .more-detail ul{
    margin-bottom: 5px;
}
#content .more-detail .nolist{
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#content .more-detail ul li{
    border: 0 none;
    color: #666666;
    float: left;
    font-size: 12px;
    height: auto;
    line-height: 16px;
    margin: 0;
    padding: 0;
    width: 190px;
}
#content .more-detail .promotion{
    color: #FF0000;
    font-size: 12px;
    line-height: 16px;
}

/*The Span*/
span.badge{
    background-color: #006DBB;
    border-radius: 3px;
    color: #FFFFFF;
    float: left;
    font-size: 13px;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    position: absolute;
    right: 5px;
    text-transform: uppercase;
    top: 5px;
    z-index: 10;
}
span.bestsell{
    background: url("#{resource['images:icon-banchay.png']}") no-repeat scroll 0% 0% transparent;
    width: 65px;
    height: 59px;
    right: -10px;
    top: 1px;
}
span.new{
    left: 1px;
    background-color: #006DBB;
    border-radius: 3px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    position: absolute;
    text-transform: uppercase;
    top: 5px;
    z-index: 1;
    width: 30px;
}
.price{
    color: #FF0000;
    font-weight: bold;
    width: 100%;
}

//Product Detail
.wrapper-specification{
    float: left;
    padding: 20px 0 20px 20px;
    border-top: 1px solid #dadada;
    width: 680px;
}
.wrapper-specification .left{
    width: 342px;
    padding-right: 20px;
    float: left;
}
.wrapper-specification .left .pro_pic_mor{
    background-color: #FFFFFF;
    border: 1px solid #B3B3B3;
    float: left;
}

.wrapper-specification .right{
    width: 308px;
    float: left;
}

.wrapper-specification .right p{
    font-size: 14px;
}

strong{
    font-weight: bold;
}

.wrapper-specification .right .spec-chart{
    width: 308px !important;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 13px !important;
}
.wrapper-specification .right .spec-chart li{
    padding-top: 5px;
}

.clear{
    clear: both;
    padding-top: 10px;
}

#productinfo{
    width: 700px;
    line-height: 20px;
    margin-bottom: 10px;
    float: left;
}
.displaynone{
    display: none;
}
.wrapper-specification .right .pro_nd_mor{
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding-top: 7px;
    color: #333333;
}
.wrapper-specification .right .line_comment{
    padding-top: 7px;
    border-bottom: 1px dotted #999999;
    padding-bottom: 7px;
}

.commandbutton{
    width: 81px;
    height: 24px;
    background: url("#{resource['images:muahang.jpg']}");
    float: left;
}

//Giỏ hàng
#cart {
    float: left;
    width: 100%;
}

#cart .breadcrumb{
    height: 30px;
    position: relative;
    width: 100%;
}

#cart .breadcrumb .headercartleft{
    background: url("#{resource['images:breadcrumbImage.png']}") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: block;
    height: 30px;
    left: 0;
    position: absolute;
    width: 10px;
    z-index: 1;
    top: 0;
}

.breadcrumb ul{
    background: url("#{resource['images:breadcrumbImage.png']}") repeat-x scroll 0 -30px rgba(0, 0, 0, 0);
    height: 30px;
    margin: 0 5px;
    padding: 0;
    position: relative;
}
.breadcrumb ul li{
    float: left;
    list-style: none outside none;
    margin-top: 6px;
    margin-left: 15px;
}
.breadcrumb ul li a{
    color: #FFFFFF;
    font-weight: bold;
}

//Shopping Cart Table
#tableorder{
    border-collapse:collapse;
    margin-top: 5px;
    width: 760px;
}
.order-table{   
    border-collapse:collapse;
    margin-top: 5px;
    width: 760px;
}

.order-table-header{
    text-align:center;
    background:none repeat scroll 0 0 #155487;
    border-bottom:1px solid #FFFFFF;
    padding:16px;
    color: #FFFFFF;
    font-weight: bold;
}

.order-table-odd-row{
    text-align:center;
    background:none repeat scroll 0 0 #FFFFFF;
    border-top:1px solid #BBBBBB;
}

.order-table-even-row{
    text-align:center;
    background:none repeat scroll 0 0 #F9F9F9;
    border-top:1px solid #BBBBBB;
}


//Menu

#checklogin .menu-login{

}
#checklogin .menu-login .postlogin{
    -moz-border-top-left-radius: 3px;
    -moz-border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin-top: 5px;
    position: absolute;
    right: 180px;
}

#checklogin .menu-login .postlogin .customername{

}

#checklogin .menu-login .postlogin .avatar{
    background-image: url("#resource['image:avatar.jpg']");
    width: 32px !important;
    height: 32px !important;
}


#loggedin_dropdown{
    border: 2px solid #01548D;
    display: none;
    width: 150px;
    position: absolute;
    z-index: 1000;
    right: 180px;
    top: 38px;
    background-color: #FFFFFF;
    overflow: hidden;
}